package com.xh.web.service;

import com.xh.api.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Name TestServiceImpl
 * @Description
 * @Author wen
 * @Date 2019-11-11
 */
@Service
public class TestServiceImpl implements ITestService {

    @Autowired
    private IUserService userService;

    @Override
    public void test() {
        userService.findAll().forEach(System.out::println);
    }
}
